<script>
//window.orientation
//orientation 90是竖屏 180横屏
</script>